/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package aybolit.core.objects.dao;



import aybolit.core.objects.model.Operators;
import aybolit.core.objects.model.Patientes;
import java.util.List;
import javax.faces.bean.SessionScoped;
import org.springframework.transaction.annotation.Transactional;

/**
 *
 * @author Emin
 */
@SessionScoped
@Transactional
public interface PacientDao {
   void addPacient(Patientes patientes);
   void changePacientStatus(Patientes patientes);
    List<Patientes> findAllpacient();
    Patientes findPacient(String id);
    List<Patientes> findPacientWithStatus(String status);
    List<Operators> findPacientbyOperators(String id);
}
